package com.ilovepostcard.model;

import org.json.JSONException;
import org.json.JSONObject;

/**
<pre>
“Title”:””,    //标题(type为1、3时Title为空，type为2、4时有内容)
“Body”:””,    //内容
“PostcardUrl”:””   //明信片URL
</pre>
 */
public class ShareTextConfig {
    public String Title;
    public String Body;
    public String PostcardUrl;
    
    public void setData(JSONObject json) throws JSONException {
        Title = json.getString("Title");
        Body = json.getString("Body");
        PostcardUrl = json.getString("PostcardUrl");
    }
}
